'use strict';

function router(app) {
  app.router.get('/scriptlist', app.controller.script.list);
  app.router.get('/scriptdelete', app.controller.script.delete);
  app.router.post('/scriptcreate', app.controller.script.create);
  app.router.post('/scriptedit', app.controller.script.edit);
  app.router.get('/scriptsingle', app.controller.script.singleScript);
}
module.exports = {
  router,
};
